#!/bin/bash

#Get the necessary components
apt-get update
apt-get install openssh-server -y

#Setup the necessary files
wget https://gitee.com/mediateeee/anlinux-resources/raw/master/Scripts/SSH/Apt/sshd_config --no-check-certificate -P /etc/ssh

echo "您现在可以通过运行 /etc/init.d/ssh start 来启动 OpenSSH 服务器"
echo " "
echo "OpenSSH 服务器将在 127.0.0.1:22 启动"
